package ex2.employee;

public class PrinterSingeltonFactory {
	
	private static CEmployeeCSVPrinter _CEmployeeCSVPrinter;
	private static CEmployeeBlockPrinter _CEmployeeBlockPrinter;
	
	public static CEmployeeCSVPrinter getCEmployeeCSVPrinter(){
		if(_CEmployeeCSVPrinter==null)
			_CEmployeeCSVPrinter=new CEmployeeCSVPrinter();
		return _CEmployeeCSVPrinter;
	}
	
	public static CEmployeeBlockPrinter getCEmployeeBlockPrinter(){
		if(_CEmployeeBlockPrinter==null)
			_CEmployeeBlockPrinter=new CEmployeeBlockPrinter();
		return _CEmployeeBlockPrinter;
	}


}
